package net.zypro.sample;

/**
 * Author: zy
 *
 * 该类定义App所需常量字段
 */
public class C {

    public class Dev{
        public static final boolean debug=true;
    }

    public class ErrorCode{
        /**
         * 服务器错误码
         *
         * */

        /***/
        public static final int SERVER_UNKNOWN_ERROR=1000;
        /***/
        public static final int SERVICE_UNAVAILABLE_ERROR=1001;
        /***/
        public static final int CLIENT_AUTH_FAILED_ERROR=2002;
        /***/
        public static final int USER_AUTH_FAILED_ERROR=2003;

        /**
         * 客户端错误码
         *
         * */

        /***/
        public static final int CLIENT_UNKNOWN_ERROR=3000;
        /***/
        public static final int CLIENT_NET_ERROR=3001;
        /***/
        public static final int CLIENT_JSON_ERROR=3002;
    }

    public class Url{
        /***/
        public static final String BASE_SERVER="http://test.zypro.net/";
        /***/
        public static final String LOGIN=BASE_SERVER+"login";
    }
}
